// pages/menu/menu.js
Page({
    // 页面分享
    onShareAppMessage () {},
    // 分享朋友圈
    onShareTimeline () {},

    /**
     * 页面的初始数据
     */
    data: {
      nav: [{
          url: "pages/index/index",
          name: "首页",
          tab: true
        }, {
          url: "pages/my/my",
          name: "主页",
          tab: true
        },
        {
          url: "pages/my/vip-det/vip-det",
          name: "我的权益",
        }
        , {
          url: "pages/enterprise/enterprise-up/enterprise-up",
          name: "企业人员信息-上传",
        }
        , {
            url: "pages/enterprise/contact/contact",
            name: "企业人员信息",
          }, {
            url: "pages/enterprise/enterprise-up-1/enterprise-up-1",
            name: "企业人员信息-设置权限",
          },
          {
            url: "pages/serviced/serviced",
            name: "产品服务",
          }
          , {
              url: "pages/serviced/edit/edit",
              name: "产品服务-上传",
            },
            {
              url: "pages/enterprise/information/information",
              name: "信息/企业-展示",
            }
            , {
                url: "pages/enterprise/information-up/information-up",
                name: "信息/企业-上传",
              }
            , {
                url: "pages/index/product/product",
                name: "热门推荐-服务",
              }
            , {
                url: "pages/index/recommend/recommend",
                name: "热门推荐-企业",
              }
            , {
                url: "pages/index/product-detail/product-detail",
                name: "产品/服务 详情",
              }
            , {
                url: "pages/search/search",
                name: "搜索",
              }
            , {
                url: "pages/addressBook1/addressBook1",
                name: "通讯录",
                tab: true
              }
            , {
                url: "pages/search/sEnterprise/sEnterprise",
                name: "搜索-企业",
              }
            , {
                url: "pages/search/member/member",
                name: "搜索-会员",
              }
            , {
                url: "pages/search/sProduct/sProduct",
                name: "搜索-产品/服务",
              }
              , {
                url: "pages/supply/supply2/supply2",
                name: "我的服务",
              }
              , {
                url: "pages/supply/supply1/supply1",
                name: "我的需求",
              }
              , {
                url: "pages/message/record/record",
                name: "沟通记录",
              }
              , {
                url: "pages/detail/detail",
                name: "供需详情",
              }
              , {
                url: "pages/business/business",
                name: "商机",
                tab: true
              }
              , {
                url: "pages/message/record2/record2",
                name: "我的供需",
              }, {
                url: "pages/login/login",
                name: "登录",
              }
             
      ]
    },
  
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
  
    },
  
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {
  
    },
  
    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {
  
    },
  
    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {
  
    },
  
    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {
  
    },
  
    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {
  
    },
  
    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {
  
    },
  
    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {
  
    }
  })